package org.mc.enums;

/**
 * Created by luoxiaofei on 2017/11/8.
 */
public enum LockEnum {

    BILLS("yd-lock-bills_%s"),
    ACCOUNT("yd-lock-account_%s");

    private String value;

    LockEnum(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return this.value;
    }

    public String value(String value) {
        return String.format(this.value, value);
    }
}
